<?php
class OrderVideoAction extends SzAbstractAction
{
    protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
        SzAbstractAction::TYPE_INT,
    );

    public function execute($userId,$reqTime)
    {
        GameService::get()->validateMultiRequestTimeDelta($userId, $reqTime);
        if (!GameService::get()->verifySysUnlock($userId, GameConst::FUNC_NORMAL_ORDER)) {
            return $this->buildResponse(false);
        }
        return $this->buildResponse(
            OrderService::get()->updateFirstPositionOrder($userId)
        );
    }
}